<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'equipment-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note"><?php echo Yii::t('base','Fields with <span class="required">*</span> are required.');?></p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'equipment_name'); ?>
		<?php echo $form->dropDownList($model,'equipment_name',array('3020'=>'3020','3631'=>'3631','842'=>'842','1200'=>'1200'));?>
		<?php echo $form->error($model,'equipment_name'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'equipment_number'); ?>
		<?php echo $form->textField($model,'equipment_number'); ?>
		<?php echo $form->error($model,'equipment_number'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'service_id'); ?>
		<?php echo $form->dropDownList($model,'service_id',Package::model()->getServiceName()); ?>
		<?php echo $form->error($model,'service_id'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'MacAddress'); ?>
		<?php echo $form->textField($model,'MacAddress'); ?>
		<?php echo $form->error($model,'MacAddress'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'telephone_number'); ?>
		<?php echo $form->textField($model,'telephone_number'); ?>
		<?php echo $form->error($model,'telephone_number'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'equipment_description'); ?>
		<?php echo $form->textArea($model,'equipment_description',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'equipment_description'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'CardNumber'); ?>
		<?php echo $form->textField($model,'CardNumber'); ?>
		<?php echo $form->error($model,'CardNumber'); ?>
	</div>
	<div class="row">
		<?php echo $form->hiddenField($model,'city'); ?>
		<?php echo $form->error($model,'city'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'server'); ?>
		<?php echo $form->textField($model,'server'); ?>
		<?php echo $form->error($model,'server'); ?>
	</div>
	<div class="row">
		<?php echo $form->labelEx($model,'remark'); ?>
		<?php echo $form->textArea($model,'remark'); ?>
		<?php echo $form->error($model,'remark'); ?>
	</div>
	<div class="row">
		<?php echo $form->hiddenField($model,'create_time'); ?>
		<?php echo $form->error($model,'create_time'); ?>
	</div>
	<div class="row">
		<?php echo $form->hiddenField($model,'update_time'); ?>
		<?php echo $form->error($model,'update_time'); ?>
	</div>
	<div class="row">
		<?php echo $form->hiddenField($model,'creater'); ?>
		<?php echo $form->error($model,'creater'); ?>
	</div>
	<div class="row">
		<?php echo $form->hiddenField($model,'updater'); ?>
		<?php echo $form->error($model,'updater'); ?>
	</div>
	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? Yii::t('base','Create') : Yii::t('base','Save')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->